package org.knight.gearbox.repository;

import org.knight.gearbox.model.entity.DemoBizData;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface BizDataRepository extends CrudRepository<DemoBizData,Long> {
    @Query("select d from DemoBizData d where attr1 like ?1 and buId in ?2")
    List<DemoBizData> queryBizData(String attr1, List<Long> buIds);
}
